<%
/*获取项目的根路径*/
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
/*basePath就是得到的跟路径类似于：http://localhost:8081/test/*/
%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>LoveU-遇见更好的你</title>
    <link rel="stylesheet" href="<%=basePath%>/css/index.css">
    <link rel="shortcut icon" href="<%=basePath%>/img/男女混合.png" type="image/x-icon">
    <script src="<%=basePath%>/js/jquery-3.6.3.min.js"></script>
    <script src="<%=basePath%>/js/jquery.validate.min.js"></script>
</head>

<body>

<div class="video-background">
    <video autoplay loop muted>
        <source src="<%=basePath%>/img/5fb8ed73-6d44-4503-b691-94db90d949fa.mp4" type="video/mp4">

    </video>
</div>

<div class="content">
    <h2><span>只</span><span>为</span><span>遇</span><span>见</span><span>更</span><span>好</span><span>的</span><span>你</span></h2>
    <a href="login.jsp" class="login">登录</a>
</div>

    
<%@include file="myFooter.jsp"%>
</body>

</html>